package cn.edu.scau.cmi.linkaibo.abstractFactory.factory;

import cn.edu.scau.cmi.linkaibo.abstractFactory.domainInterface.*; 
import cn.edu.scau.cmi.linkaibo.abstractFactory.domainAbstractClass.*; 

public abstract class AbstractFactory { 
public AbstractFactory getFactory(String brand) { 

 brand=brand.toLowerCase(); 
 switch(brand) { 
 case "wens": 
  return new WensFactory(); 
 case "aonong": 
  return new AonongFactory(); 
 case "tianbang": 
  return new TianbangFactory(); 
 } 
 return null; 
}

public abstract Meat createBeef(); 

public abstract Meat createChicken(); 

public abstract Meat createPork(); 

}